<%--
  Created by IntelliJ IDEA.
  User: iMist
  Date: 2018/8/10
  Time: 17:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--&lt;%&ndash; 这里是request.getParameter()获取参数  而不是 getAttribute()--% >--%>
<%=
//两者是一样的
request.getParameter("name")
%>
<%= pageContext.getRequest().getParameter("name")%>
</body>
</html>
